package com.neusoft.spring;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ClientTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		BeanFactory factory = new ClassPathXmlApplicationContext("spring/config-spring.xml");
		
		UserManagerIface userManager = (UserManagerIface)factory.getBean("userManager");
		userManager.addUser("eddy", "123");
		
		userManager.deleteUser(234);
	}

}
